package com.bcfn.bshop.item.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.bcfn.bshop.common.dto.MessageDto;
import com.bcfn.bshop.item.dto.BrandCategoryDto;

/**
 * 品牌分类.
 * 
 * @author LiangGuoNing
 * @create 2019年2月11日 上午12:14:27
 * @copyright
 * @modify
 */
@RestController
public class BrandCategoryController {

	@GetMapping("/get")
	@ResponseBody
	public MessageDto<BrandCategoryDto> get(Integer id){
		MessageDto<BrandCategoryDto> messageDto = new MessageDto<BrandCategoryDto>();
		
		
		return messageDto;
	}
	
	@PostMapping("/save")
	@ResponseBody
	public MessageDto<BrandCategoryDto> save(@RequestBody BrandCategoryDto brandCategoryDto){
		MessageDto<BrandCategoryDto> messageDto = new MessageDto<BrandCategoryDto>();
		
		return messageDto;
	}
	
	@PostMapping("/search")
	@ResponseBody
	public MessageDto<BrandCategoryDto> search(@RequestBody BrandCategoryDto brandCategoryDto){
		MessageDto<BrandCategoryDto> messageDto = new MessageDto<BrandCategoryDto>();
		
		return messageDto;
	}
	
	@GetMapping("/delete")
	@ResponseBody
	public MessageDto<String> delete(Integer id){
		MessageDto<String> messageDto = new MessageDto<String>();
		
		return messageDto;
	}
}
